package com.efast.dmom.mgmt.entity.mes;
public class TwBasLotHistory {
    private Integer lotHistoryId;//id
    private Integer orderId;//订单id
    private String orderNo;//工单号
    private Integer lotId;//lot id
    private String lotName;//lot name
    private String partNoVersion;//零件
    private Integer lotQty;//lot 数量
    private String box;//箱体序号
    private String state;//lot状态：normal，hold，scrap
    private String status;//运行状态：created,started,completed,finished,closed,waitting(上一道工序已完成，下一道工序待开始)
    private String productionLine;//产线名称
    private String route;//工艺路线名称
    private Integer stationId;//工位id
    private String stationName;//工位名称
    private Integer operationId;//工序id
    private String operation;//工序名称
    private Integer nextOperationId;//下一工序Id
    private String nextOperation;//下一工序名称
    private java.util.Date startedTime;//开始时间
    private String startedUsername;//执行开始操作的用户
    private java.util.Date completedTime;//工序完成时间
    private String completedUsername;//工序完成的用户
    private String completedReason;//对应某一工序的完成的原因(pass,fail)
    private String comments;//注释
    private Integer markStatus;//是否激活
    private Integer optCounter;//版本控制
    private java.util.Date createTime;//创建时间
    private java.util.Date lastUpdateTime;//上次更新时间
    private String lastUpdateUser;//更改用户
    private String createUser;//创建用户
    private String companyCode;//企业代码
    private String eqId ;
    private String eqNo ;
    private String eqName ;
    public TwBasLotHistory() {
        super();
    }
    public TwBasLotHistory(Integer lotHistoryId,String orderNo,Integer optCounter,
    		String box,String lotName,String productionLine,
    		Integer lotQty,String completedReason,Integer lotId,String stationName,
    		String startedUsername,String companyCode,String partNoVersion,String state,
    		String nextOperation,String comments,java.util.Date createTime,
    		java.util.Date startedTime,Integer stationId,String completedUsername,
    		Integer markStatus,java.util.Date lastUpdateTime,String route,
    		java.util.Date completedTime,String lastUpdateUser,String createUser,
    		String operation,Integer orderId,String status,Integer operationId,Integer nextOperationId) {
        super();
        this.lotHistoryId = lotHistoryId;
        this.orderNo = orderNo;
        this.optCounter = optCounter;
        this.box = box;
        this.lotName = lotName;
        this.productionLine = productionLine;
        this.lotQty = lotQty;
        this.completedReason = completedReason;
        this.lotId = lotId;
        this.stationName = stationName;
        this.startedUsername = startedUsername;
        this.companyCode = companyCode;
        this.partNoVersion = partNoVersion;
        this.state = state;
        this.nextOperation = nextOperation;
        this.comments = comments;
        this.createTime = createTime;
        this.startedTime = startedTime;
        this.stationId = stationId;
        this.completedUsername = completedUsername;
        this.markStatus = markStatus;
        this.lastUpdateTime = lastUpdateTime;
        this.route = route;
        this.completedTime = completedTime;
        this.lastUpdateUser = lastUpdateUser;
        this.createUser = createUser;
        this.operation = operation;
        this.orderId = orderId;
        this.status = status;
        this.operationId = operationId;
        this.nextOperationId = nextOperationId;
    }
    public Integer getLotHistoryId() {
        return this.lotHistoryId;
    }

    public void setLotHistoryId(Integer lotHistoryId) {
        this.lotHistoryId = lotHistoryId;
    }

    public String getOrderNo() {
        return this.orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getOptCounter() {
        return this.optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getBox() {
        return this.box;
    }

    public void setBox(String box) {
        this.box = box;
    }

    public String getLotName() {
        return this.lotName;
    }

    public void setLotName(String lotName) {
        this.lotName = lotName;
    }

    public String getProductionLine() {
        return this.productionLine;
    }

    public void setProductionLine(String productionLine) {
        this.productionLine = productionLine;
    }

    public Integer getLotQty() {
        return this.lotQty;
    }

    public void setLotQty(Integer lotQty) {
        this.lotQty = lotQty;
    }

    public String getCompletedReason() {
        return this.completedReason;
    }

    public void setCompletedReason(String completedReason) {
        this.completedReason = completedReason;
    }

    public Integer getLotId() {
        return this.lotId;
    }

    public void setLotId(Integer lotId) {
        this.lotId = lotId;
    }

    public String getStartedUsername() {
        return this.startedUsername;
    }

    public void setStartedUsername(String startedUsername) {
        this.startedUsername = startedUsername;
    }

    public String getCompanyCode() {
        return this.companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getPartNoVersion() {
        return this.partNoVersion;
    }

    public void setPartNoVersion(String partNoVersion) {
        this.partNoVersion = partNoVersion;
    }

    public String getState() {
        return this.state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getNextOperation() {
        return this.nextOperation;
    }

    public void setNextOperation(String nextOperation) {
        this.nextOperation = nextOperation;
    }

    public String getComments() {
        return this.comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public java.util.Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(java.util.Date createTime) {
        this.createTime = createTime;
    }

    public java.util.Date getStartedTime() {
        return this.startedTime;
    }

    public void setStartedTime(java.util.Date startedTime) {
        this.startedTime = startedTime;
    }

    public Integer getStationId() {
        return this.stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public String getCompletedUsername() {
        return this.completedUsername;
    }

    public void setCompletedUsername(String completedUsername) {
        this.completedUsername = completedUsername;
    }

    public Integer getMarkStatus() {
        return this.markStatus;
    }

    public void setMarkStatus(Integer markStatus) {
        this.markStatus = markStatus;
    }

    public java.util.Date getLastUpdateTime() {
        return this.lastUpdateTime;
    }

    public void setLastUpdateTime(java.util.Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getRoute() {
        return this.route;
    }

    public void setRoute(String route) {
        this.route = route;
    }

    public java.util.Date getCompletedTime() {
        return this.completedTime;
    }

    public void setCompletedTime(java.util.Date completedTime) {
        this.completedTime = completedTime;
    }

    public String getLastUpdateUser() {
        return this.lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public String getCreateUser() {
        return this.createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getOperation() {
        return this.operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Integer getOrderId() {
        return this.orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getStatus() {
        return this.status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
	public String getStationName() {
		return stationName;
	}
	public void setStationName(String stationName) {
		this.stationName = stationName;
	}
	public Integer getOperationId() {
		return operationId;
	}
	public void setOperationId(Integer operationId) {
		this.operationId = operationId;
	}
	public Integer getNextOperationId() {
		return nextOperationId;
	}
	public void setNextOperationId(Integer nextOperationId) {
		this.nextOperationId = nextOperationId;
	}
	public String getEqId() {
		return eqId;
	}
	public void setEqId(String eqId) {
		this.eqId = eqId;
	}
	public String getEqNo() {
		return eqNo;
	}
	public void setEqNo(String eqNo) {
		this.eqNo = eqNo;
	}
	public String getEqName() {
		return eqName;
	}
	public void setEqName(String eqName) {
		this.eqName = eqName;
	}

}
